from zope import schema

from dbformlib.interfaces import IDBFormlibContent
from dbformlib.fields import EntryField
#from widgettest.widgettest import MyField


class IDBTestContent(IDBFormlibContent):
    """Test content"""
    # these will become entry fields
    row_id   = EntryField(title=u"row_id")
    group_id = EntryField(title=u"group_id", required=False)
    name     = schema.TextLine(title=u"Name")
    min_size = schema.Float(title=u"Minimum size")
    max_size = schema.Float(title=u"Maximum size")
    now      = schema.Date(title=u"Now")
    tnow     = schema.Datetime(title=u"time Now")
    